package BLL;

import DAL.CurriculumDAL;
import Entities.TblCurriculum;
import java.util.List;

public class CurriculumBLL {

    public CurriculumDAL dalObj;

    public boolean add(TblCurriculum obj) {
        dalObj = new CurriculumDAL();
        return dalObj.add(obj);
    }

    public boolean update(TblCurriculum obj){
        dalObj = new CurriculumDAL();
        return dalObj.update(obj);
    }

    public boolean delete(TblCurriculum obj){
        dalObj = new CurriculumDAL();
        return dalObj.delete(obj);
    }

    public TblCurriculum getById(int id){
        dalObj = new CurriculumDAL();
        return dalObj.getById(id);
    }

    public List<TblCurriculum> getAll(){
        dalObj = new CurriculumDAL();
        return dalObj.getAll();
    }
}
